﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true"
    CodeFile="Index.aspx.cs" Inherits="Index" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainHeard" runat="Server">
    <%--     <script src="Scripts/Jquery/jquery-1.10.2.js" type="text/javascript"></script>
  <script src="Scripts/SearchList.js" type="text/javascript"></script>
    <script src="Scripts/common.js" type="text/javascript"></script>--%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <div>
        <div id="div_html" style="margin: 5px auto 5px auto none; padding: 10px 10px 10px 10px;
            width: 100%;">
        </div>
    </div>
    <%  
        %>
    <asp:Repeater ID="rep_Gride" runat="server">
        <ItemTemplate>
            <div class='ct_box'>
                <div class='row-fluid'>
                    <%
                        int i = 0;
                        
                        if (i % 3 == 0)
                        {
                            i++;
                    %>
                </div>
                <div class='span4'>
                    <div style='margin-bottom: 10px;' class='thumbnail'>
                        <div class='text-center'>
                            <a target='_blank' href='GuidDetail.aspx?id=<%# Eval("uid") %>'>
                                <img src="<%# Eval("heardImg") %>"></a>
                        </div>
                        <div class='caption'>
                            <strong><small><a style='font-size: 14px;' target='_blank' href='GuidDetail.aspx?id=<%# Eval("uid") %>'>
                                <%# Eval("city")%></a></small></strong><p>
                                    <small><strong><%# Eval("userName")%></strong></small></p>
                            <div style='font-size: 12px; border-top: 1px dashed #CCCCCC; padding-top: 5px;' class='masthead'>
                                <div class='pull-right'>
                                </div>
                                <a href='javascript:;'><strong><%# Eval("title") %></strong></a></div>
                        </div>
                    </div>
                </div>
                <div class='row-fluid'>
                    <%
        }
        else
        {
                    %>
                    <div class='span4'>
                        <div style='margin-bottom: 10px;' class='thumbnail'>
                            <div class='text-center'>
                                <a target='_blank' href='GuidDetail.aspx?id=<%# Eval("uid") %>'>
                                    <img src="<%# Eval("heardImg") %>"></a>
                            </div>
                            <div class='caption'>
                                <strong><small><a style='font-size: 14px;' target='_blank' href='GuidDetail.aspx?id=" + objJSON[i].uid + "'>
                                    <%# Eval("city") %></a></small></strong><p>
                                        <small><strong>
                                            <%# Eval("userName") %></strong></small></p>
                                <div style='font-size: 12px; border-top: 1px dashed #CCCCCC; padding-top: 5px;' class='masthead'>
                                    <div class='pull-right'>
                                    </div>
                                    <a href='javascript:;'><strong>
                                        <%# Eval("title") %></strong></a></div>
                            </div>
                        </div>
                    </div>
                    <%
        }
                    %>
                    <div class='row-fluid'>
        </ItemTemplate>
    </asp:Repeater>
</asp:Content>
